package com.zhanghe.study.design_pattern.bride_pattern;

/**
 * 抽象接口
 * @author zh
 * @date 2022/10/23 15:39
 */
public abstract class Abstraction {

    private Implementor impl;

    public Abstraction(Implementor impl) {
        this.impl = impl;
    }

    public void operator(){
        impl.implOperator();
    }
}
